{extend name="main/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">
        <form action="{:url('admin/friendship/doupdate')}" method="post">
             <input type="hidden" name="id" value="{$date.id}">
            <div class="form-group">
                <label for="exampleInputText1">友情链接名</label>
                <input type="text" value="{$date.name}" class="form-control" id="exampleInputEmail1" name="name" required >
            </div>
            <div class="form-group">
                <label for="exampleInputText1">域名</label>
                <input type="text" class="form-control" id="exampleInputEmail1" value="{$date.url}" name="url" required >
            </div>
            <div class="form-group">
            <input type="radio" name="status" value="1" {if $date.status==1} checked {/if}>启用
            <input type="radio" name="status" value="2" {if $date.status==2} checked {/if}>禁用
            </div>
           
            <button type="submit" class="btn btn-default">确认</button>
            <button type="reset" class="btn btn-default">重置</button>
        </form>
    </div>
</div>

{/block}